package cn.hubujyjs.lp.controller;

import cn.hubujyjs.lp.service.TerminalService;
import cn.hubujyjs.lp.utils.R;
import cn.hubujyjs.lp.vo.StudentTerminalVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/api/terminal")
public class StudentTerminalController {
    @Autowired
    private TerminalService terminalService;
    @PostMapping("/list")
    public R<List<StudentTerminalVo>> listR(){
        return terminalService.queryList();
    }
}
